<include file="public:header" />
<div class="allpagetop">工具<strong>/</strong>URL路由</div>
<div class="admin_main_nr_dbox">
 	    <div class="pagetit">
	        <div class="ptit">URL</div>
			<include file="Url/topnav" /> 
	        <div class="clear"></div>
	    </div>
		
 
  
    <form id="form1" name="form1" method="post" action="{:RU('url/allsave')}">
	
	  <div class="admin_list_th">
	    <div class="td1" style=" width:20%;"> 
		  <div class="left_txt_td">调用名称</div>
		</div>
		<div class="td4" style=" width:20%;">替换规则</div>
		<div class="td4" style=" width:20%;">TP路由规则</div>
		<div class="td4" style=" width:20%;">TP对应方法</div>
		<div class="td4" style=" width:10%;">是否可用</div>
		<div class="td4" style=" width:10%;"><div class="admin_list_right">操作</div></div>
	  <div class="clear"></div>
	  </div>
	  
	  
	    <volist name="url.list" id="list">
					   <div class="admin_list_tr link_bk">
						<div class="td1" style=" width:20%;">
							  <div class="left_txt_td striking">
							  <input name="id[]" type="hidden" value="{$list.id}" />
							  <input name="alias[]" type="text"  class="input_text_default small" maxlength="300" value="{$list.alias}"  />
									 
							  </div>
						</div>
						<div class="td4" style=" width:20%;">
						<input name="locator[]" type="text"  class="input_text_default small" maxlength="300" value="{$list.locator}"  />
						</div>
						<div class="td4" style=" width:20%;">
						<input name="rule_key[]" type="text"  class="input_text_default small" maxlength="300" value="{$list.rule_key}"  />
						</div>
						<div class="td4" style=" width:20%;">
						<input name="rule_var[]" type="text"  class="input_text_default small" maxlength="300" value="{$list.rule_var}"  />
						</div>
						 <div class="td3" style=" width:10%;">
								 <div class="imgchecked_small <if condition="$list.is_display eq 1 "> select</if>"><input name="is_display[]" type="hidden" value="{$list.is_display}" /></div><div class="clear"></div>
						</div>
						<div class="td5 edit" style=" width:10%;">
									  <div class="admin_list_right link_blue">
									  <a class="gray" href="{:RU('url/edit',array('id'=>$list['id']))}">修改</a> <a href="{:RU('url/delete',array('id'=>$list['id']))}" onclick="return confirm('你确定要删除吗？')">删除</a>
									  </div>
						</div>
					  <div class="clear"></div>
					  </div>
	   </volist>
	  
	
	  
      

  
  
    <empty name="url.list">
    <div class="admin_list_no_info">没有任何信息！</div>
    </empty>
	
	
	
	<div class="admin_list_foot">
			  <div class="btnbox">
			 	 <input type="submit"  class="admin_submit"   value="保存"/>
				 <input type="button" class="admin_submit"   value="添加"  onclick="window.location='{:RU('url/add')}'"/>
			 
			  </div>
			  
			  
			  
	          
	</div>
	  </form>
	  
	  <div class="uupage">{$url.page}</div>
  
</div>
<include file="public:footer" />
</body>
</html>